UIReference.htmlTEXTR*ch›ÏCµ‡ô&µ‡ô&ÅÅ√ª CESLab 3.0 User Interface Reference Manual

CESLab 3.0
User Interface Reference Manual

Mark Stevans
CESI
http://www.cesinst.com

September 9, 2000

1. Introduction

1.1. Document Scope

This document is intended as a comprehensive reference for the user interface of the CESLab 3.0 cardiac simulation system. It describes all the menu and keyboard commands, as well as the various windows and their contents. For information regarding CESLab internals, please see the document CESLab Technical Specifications.

For definitions of terminology used in this document, please see the CESLab Glossary of Terminology.

1.2. Common Fields and Controls

1.3. Multitasking Capabilities

At any point in operation, the CESLab application can have any number of Benches open (within the limits of free memory). Each Bench can be either actively performing a particular task (e.g. running a trial) or awaiting user commands. Whenever a Bench is active, a Bench Progress Window will be displayed, describing the current activity for that Bench, but the user may still interact with the Bench in many ways, including: However, the Preparation is considered locked when a Bench Progress Window is displayed, such that certain operations cannot be performed, such as editing shapes or changing conduction speed factors.

1.4. Initialization Scripts

On startup, CESLab looks in the directory containing the application for a subdirectory named "CESLab Scripts", which must be present. It then executes the following scripts from that directory:

1.5. Script Files

The CESLab distribution includes a number of general script files for performing a number of common tasks. Double-clicking on a script file will cause it to be interpreted by the Current Bench. Script files may be edited using SimpleText or any other Macintosh text editor.

2. Menu Bar Commands

2.1. File Menu

2.1.1. Close (Command-W)

Closes the current window.

Instrument windows can always be closed. If the Bench Window is closed, this closes the Bench, and all associated windows.

Bench Windows cannot be closed if the Bench is active (a Bench Progress window is open for the Bench). The Application Log Window cannot be closed.

2.1.2. Save (Command-S)

If the Current Bench has been modified since it was opened, this command may be used to save the current state of the Bench to disk.

2.1.3. Save As...

This command may be used to save the Current Bench to disk under a different name. This is a convenient way to make a backup or copy of an open Bench. Like any closed document files, closed Benches on disk may be copied/renamed using normal Finder commands.

2.1.4. Page Setup...

A standard MacOS command, used to set up printer attributes before printing.

2.1.5. Print (Command-P)

When a window of certain types is the frontmost window on the screen, the Print command is enabled. It opens a conventional Macintosh dialog box to enable the user to print the contents of the instrument window.

The following windows offer the Print command:

2.1.6. Quit (Command-Q)

This command exits the CESLab application, after giving the user a chance to save any modified benches.

If any Bench is busy (a Bench Progress Window is visible), this command is ignored. Each active Bench must be stopped before CESLab can be quit.

2.2. Edit Menu

The Edit menu is enabled only when the cursor is located in an editable field in a Bench or Instrument window. The following conventional Macintosh text editing commands are enabled:

2.3. Objects Menu

This menu is enabled only when there is a Current Bench. Selection of any item from this menu causes a window to be opened for interaction with the associated object. The objects accessible via objects submenus are: In addition, there is a submenu for creating new objects of the following types:

2.4. Actions Menu

2.4.1. Overview

This menu is enabled only when there is a Current Bench.

2.4.2. Start New Trial (Command-R)

This command starts a new electrophysiological simulation trial. If any parts of the Bench are out-of-sync (see the sync state checkboxes in the Bench Window), they are brought into sync before the trial is started.

Trials are discontinued, returning control to the user or script, when any of the following events occur:

Trials may be conducted even if there are no Instruments open, but this is not particularly useful, since no results would be shown. The most relevant windows for observing the results of trials are:

2.4.3. Continue Current Trial (Command-3)

This command is enabled when a trial has been started, but has not been completed. It causes electrophysiological simulation to be resumed from the point at which it was discontinued.

Note that editing certain Preparation parameters will render the current trial uncontinuable, so that the Start New Trial command will have to be issued.

2.4.4. Report ETC

This command writes current Electrode Transfer Coefficients for each regional dipole to the Bench Log as unit vectors specifying the vector direction, plus the length of the vector.

2.4.5. Clear Activation Breakpoints

This command clears extant per-cell activation breakpoints (set via Microscope Windows).

2.4.6. Run G&S On Region...

This command brings up a dialog box containing fields/controls for entry of a regional dipole ID, an axis (X, Y, or Z), and a Cartesian space ("Heart" or "Torso"). Hitting the OK button causes the procedure of Gelernter and Swihart to be conducted at the centroid of the specified regional dipole, employing a test current dipole vector of 1 Amp-meter aligned parallel to the selected axis in the selected Cartesian space. After the procedure is complete, a Polyhedron Editor in any of the following Facet Display Modalities may be used to examine the results:

Since 1 Amp-meter is a much larger amount of current dipole than is generated by biological hearts, the initial and final G&S potentials may seem extremely large in comparison with those associated with normal cardiac cycles.

Note that if a non-zero number of G&S iterations has been selected in the Bench Window, this command may take many minutes to complete, and that this command is uninterruptable.

2.4.7. Report Trial Statistics

If a trial has been conducted, this command writes various statistics related to the electrophysiological activity generated during the trial to the Bench Log. These include the temporal offsets at which the earliest and latest depolarizations/repolarizations occurred in each Subtissue, plus the aggregate count of such electrophysiological events.

2.4.8. Report DSL/Facet Proximities

This command writes messages to the Bench Log describing the minimum distance from each Dipole Source Location to any facet of an employed polyhedron, along with the maximal solid angle subtended by any facet. This is of use in verifying that the torso model has been configured such that all facets are sufficiently distant from the regional dipoles to enable accurate electrophysiological simulations to be conducted.

2.4.9. Report Action Durations

Assuming that the activation parameters are in-sync (see the Bench Window ), this command writes messages to the bench log detailing the range of total action durations associated with each Subtissue in the Preparation.

2.5. Windows Menu

This menu is enabled only when there is a Current Bench, and may be used to open new windows of several types. Assuming the Macintosh memory partition assigned to the CESLab application is large enough, any number of windows may be opened simultaneously.

The Windows Menu contains the following entries:

3. Application Log Window

This is the first window opened when the CESLab application is launched, and shows a scrollable list of informational messages issued during operation.

Typical Application Log Window.

Click on image to enlarge.

Note that the Application Log Window is not associated with any particular Bench, so if it is the frontmost window, bench-oriented commands (such as Command-R) are ignored, as will be attempts to open (typically via double-clicking) script files.

4. Bench Window

4.1. Overview

The Bench Window is considered the parent window for the associated Bench, and is the owner of all Instruments opened for the associated Preparation. Thus, if the Bench Window is closed, the entire Bench and all associated Instruments are closed.

Typical Bench Window.

Click on image to enlarge.

Any number of benches may be opened simultaneously (assuming that enough RAM is installed in the host computer, and that the CESLab application's memory partition is set to a sufficiently large value, and that there are not too many other applications running simultaneously), and each Bench can be running a command or script simultaneously.

Note that a Bench can duplicated just by copying the Bench file. This enables the user to conduct complex A/B comparisons in a safe, straightforward manner.

4.2. Fields and Controls

5. Bench Progress Window

Each Bench has an associated Bench Progress Window, a small floating window that is displayed whenever the Bench is executing a script, resyncing data, or running a trial. It will display a message describing the current task, and present an animated progress bar.

Typical Bench Progress Window.

Click on image to enlarge.

Each Bench Progress Window features a button labelled "Stop". Clicking on this button will stop the current activity in that Bench as soon as possible, returning control to the user. Note that hitting the key combination Command-. (Command-period) is equivalent to hitting the "Stop" button for the Bench Progress Window associated with the Current Bench.

6. Tissue Type Windows

6.1. Overview

The Tissue Type Window permits the user to examine and/or modify the characteristics of a given Tissue Type. It consists of a set of fields and controls at the top, and an editable subwindow showing the currently-defined Action Potential Waveform for the Tissue Type.

Typical Tissue Type Window, showing the characteristics of the simulated ventricular myocardial Subtissue in the CESLab HHA Series predefined benches.

Click on image to enlarge.

6.2. Fields and Controls

7. Subtissue Windows

7.1. Overview

The Subtissue Window permits the user to examine/edit the characteristics of a given simulated Subtissue.

Typical Subtissue Window, displaying the characteristics of the simulated left ventricular myocardial Subtissue in the CESLab standard HHA series heart models.

Click on image to enlarge.

7.2. Fields and Controls

7.2.1. General Subtissue Fields and Controls

7.2.2. Subtissue Wall Fields and Controls

8. Cell Set Viewers

8.1. Overview

Cell Set Viewers graphically display the contents of the associated simulated cell set, representing extant Cells by small squares of various colors.

Typical Cell Set Viewer, showing an anterior 3-D cutaway view of the myocardia of the CESLab HHA series heart model, including simulated bypass tracts (normally all deactivated).

Click on image to enlarge.

Any number of Cell Set Viewers may be open simultaneously for any Cell Set, in the same or differing Cell Display Modalities.

If the user option-clicks the mouse when the cursor is on top of any displayed Cell, a Microscope Window is opened at that location, permitting the user to examine the characteristics of the Cell and surrounding ones in detail.

8.2. Fields and Controls

9. Microscope Windows

9.1. Overview

The Microscope Window is an Instrument similar to the Cell Set Viewer, but displays all the extant Cells within a rectangular region of the 3-D cell space simultaneously. The size of this region is fixed at five Cells per side along the Z-axis, and seven Cells per side along the other axes.

Typical Microscope Window, showing two simulated SA node foci. The single Cell associated with SA Node 1 is selected, so its characteristics are displayed in detail.

Click on image to enlarge.

The Microscope Window view orientation is fixed at anterior. It displays five grids, each of which is a seven by seven array of squares. Each grid represents a square 2-D subset of cell space in the X-Y plane. Each grid is associated with a particular value of the Z-coordinate within a contiguous range of five integral values (which vary with the position of the microscope). The grids are displayed in left to right order by increasing Z-coordinate value.

Each entry in this grid contains a particular color, selected as follows:

9.2. Fields and Controls

10. ElectroWorld Viewers

10.1. Overview

The ElectroWorld Viewer displays the contents of the ElectroWorld, the subset of the Preparation in torso Cartesian space that is used for simulation of electric currents, potentials, etc.. The ElectroWorld is composed of:

Typical ElectroWorld Viewer window, showing an anterior view of the outer and inner torso polyhedra, lungs, Intracavitary Polyhedra, regional dipole centroids, and electrode attachment points.

Regional dipole 2 (indicated by the pink dot just to the left of the attachment point of electrode "McFee 1") has been selected, so its characteristics are displayed in the box labelled "Selected Regional Dipole".

Click on image to enlarge.

10.2. Fields and Controls

11. Polyhedron Editors

11.1. Overview

Polyhedron Editor windows may be used to examine and adjust the characteristics of extant polyhedra. These include the torso model (the torso itself, and the lungs), as well as Intracavitary Polyhedra representing highly-conductive blood masses.

Typical Polyhedron Editor window, showing the potentials on the surface of the left ventricular Intracavitary Polyhedron as seen from the front in the heart's Cartesian space midway during ventricular activation. Potential minima are evident at the middle of the ventricular septum and posterior papillary region, caused by early activation wavefronts moving away from the cavity.

Click on image to enlarge.

11.2. Fields and Controls

12. Shape Editors

12.1. Overview

The Shape Editor permits the user examine or modify the Compound Shapes that provide geometry to the Preparation. At any point in time, each Shape Editor window shows a single horizontal Slice through the Compound Shape, whose altitude is indicated by the value of the Cutaway field and slider.

Typical Shape Editor window, showing a superior cutaway view of the middle of the heart. The gap between the ventricular endocardium and the intracavitary regions exists to make sure that the regional dipole centroids are sufficiently far from the Intracavitary Polyhedral facets to compute accurate SPTC.

Click on image to enlarge.

Each Compound Shape consists of a set of simple shapes, which are are bounded by lines known as Fences that may be edited to change the outlines of the shapes. Singular Fences (ones that exist only as a single point, not a line proper) are critical to shape editing as they serve as the top/bottom of shapes (as well as positioning curves and loci), but are only shown if the Show Singularity Labels box is checked.

A given slice is either editable or uneditable. Uneditable slices are constructed automatically by CESLab from the surrounding editable slices. Editable slices consume more computational resources, so are recommended only for altitudes whose precise geometry is critical.

On uneditable slices, all fences are uneditable. On editable slices, each Fence is either be editable or uneditable. Uneditable fences have their geometry constructed from the surrounding editable fences. Editable fences are distinguished by dots called FencePosts that separate each line segment that makes up the fence. They consume more computational resources, and so are recommended only in places where the precise geometry is critical.

When an editable slice is being displayed, non-singular fences may be selected by clicking on them. Singular fences may be selected by clicking on their associated labels (shown only if the Show Singularity Labels box is checked).

The user is free to adjust the geometry of editable fences arbitrarily, and can even adjust a given fence so that it crosses another. This is generally made obvious by inconsistencies in the color coding of the simple shapes. Such fence crossings should be avoided, since they will produce errors in the polyhedra and/or cell sets generated from the erroneous Compound Shapes.

In some unusual cases, major changes in geometry between adjacent editable slices or fences may result in fences crossing on intervening uneditable slices. To fix such cases, the user should identify the pair corresponding editable fences above and below the pathological zone, make the fence editable approximately midway between the two altitudes (making a slice editable if necessary), and adjust its geometry as necessary.

12.2. Fields and Controls

12.3. Mouse Actions

If an editable slice is being displayed, the following mouse actions are supported:

13. Matrix Editors

13.1. Overview

Matrix Editors may be used to examine or modify any of the matrices contained in the Preparation. Typically, the matrix editor is used to modify the rotations or translations used to position the heart within the torso model (i.e. map between the heart Cartesian space and the torso one).

Typical Matrix Editor window, showing the rotations used to position the heart within the torso in an anterior 3-D presentation. In the heart's Cartesian space, the green vector is directed downward, the blue backward, and the red leftward.

Click on image to enlarge.

The scrolling subwindow displays a figure composed of three line segments, each of equal length, representing the three axial basis vectors as rotated by the matrix. Translations and rescalings of the matrix are not shown.

Note that, in CESLab, matrices accumulate rescalings, rotations, and translations separately, in that order. This makes it easy, for example, to change the rotation of a Preparation without previous translations causing rotated re-translations.

13.2. Fields and Controls

14. Heart Dipole Graphs

14.1. Overview

Heart Dipole Graph windows accumulate graphical representations of the instantaneous heart dipole during trials. The heart dipole is defined as the vector sum of the dipoles accumulated by each regional dipole, weighted by the number of Cells associated with the regional dipole.

Typical Heart Dipole Graph window, comparing the dipole output of the right and left ventricles during a simulated normal cardiac cycle.

Click on image to enlarge.

The Heart Dipole Graph presents its data in left-to-right time sequence, much like an ECG. The axial components of the total heart dipole are presented in separate traces, along with the magnitude of the instantaneous dipole.

The output displayed in the Heart Dipole Graph is qualitatively similar to that of an axial ECG, though the torso model plays no role in generating the tracings.

14.2. Fields and Controls

15. Heart Dipole Scopes

15.1. Overview

Heart Dipole Scopes accumulate graphical representations of the instantaneous heart dipole during electrophysiological simulation. The heart dipole is defined as the vector sum of the dipoles accumulated by each regional dipole, weighted by the number of Cells associated with the regional dipole.

Typical Heart Dipole Scope window, comparing the dipole output of heart with differing Posterior Papillary cable conduction speeds during a simulated cardiac cycle, as seen from the left.

Click on image to enlarge.

The output displayed in the Heart Dipole Scope is qualitatively similar to that of the VCG Viewer, though the torso model plays no role in generating the displayed data.

15.2. Fields and Controls

16. VCG Viewers

16.1. Overview

VCG Viewers display a Frank or McFee VCG during electrophysiological simulation.

Typical VCG window, comparing the tracings produced as the conduction speed of the right bundle branch is varied (as seen from the left).

Click on image to enlarge.

16.2. Fields and Controls

17. ECG Viewers

17.1. Overview

The ECG Viewer window accumulates a simulated ECG during trials for display.

Typical ECG window, showing the frontal leads generated by a simulated normal cardiac cycle.

Click on image to enlarge.

17.2. Fields and Controls

18. Electrogram Viewers

18.1 Overview

The Electrogram Viewer window displays simulated unipolar electrograms representing the Action Potential Waveforms of selected Cells over simulated time.

Typical Electrogram Viewer window, showing the unipolar traces generated by the AV node (upper tracing) and a particular Cell (lower tracing) in the ventricular septum during a simulated normal cardiac cycle.

Click on image to enlarge.

The Electrogram Viewer window is opened automatically when the Open Electrogram button of the Microscope Window is used to add a new trace.

Each trace in the scrolling subwindow is labelled with the quantized Cartesian coordinates of the associated Cell. Each tracing is temporally aligned with the start of the associated trial, so the temporal offsets at which Cells activate may be easily observed.

18.2 Fields and Controls

19. Bench Scripts

19.1 Overview

Each extant Bench Script may have at most one Bench Script window open for execution or editing of the script. The language employed for CESLab scripting is defined in the CESLab ESL Scripting Reference document. Each Bench can execute only one script at a time, but if multiple benches are open, each may be executing a script simultaneously.

Typical Bench Script Window.

Click on image to enlarge.

If a Bench Script is named "Bench Initialization Script", it is executed automatically every time the Bench is opened.

19.2 Fields and Controls

20. Modulator Windows

20.1. Overview

Each extant Modulator defined for a given Bench can have at most one Modulator Window open for interacting with it. The serum level of a Modulator (e.g. a simulated drug) is controlled by this window, but the actual effects of the Modulators are defined using Modulator Effect Editor windows.

Typical Modulator Window, associated with a modelled Class IA antidysrhythmic agent.

Click on image to enlarge.

20.2. Fields and Controls

21. Decremental Conduction Curve Editors

21.1. Overview

The Decremental Conduction Curve Editor windows permit the user to observe and/or edit the modelled Decremental Conduction characteristics, both non-tissue type-specific and those specific to any extant Tissue Type.

Typical Decremental Conduction Curve Editor window.

Click on image to enlarge.

Any number of Decremental Conduction Curve Editor windows may be open simultaneously, displaying overlaid tracings as requested. This makes A/B comparison of different curves easier.

21.2. Fields and Controls

22. Modulator Effect Editors

22.1. Overview

The Modulator Effect Editor window permits the user to observe and/or edit the effects of any/all extant Modulators. Modulators are constrained to operate in a fixed set of Modulator Effect Modalities (see the document CESLab Technical Specifications for more information); each Modulator can operate in any/all effect modalities. The effects of a given Modulator in a given modality may be specified as non-tissue type-specific, or specific to an extant Tissue Type.

Typical Modulator Effect Editor window, showing the curves defined for various Modulator Effect Modalities at various serum levels of a simulation of a Class IA drug.

Click on image to enlarge.

22.2. Fields and Controls

23. Interval/Duration Curve Editors

23.1. Overview

The Interval/Duration Curve Editor window permits the user to observe and/or edit interval/duration curves for the Preparation. Each curve may be specified as non-tissue type-specific, or specific to one of the extant Tissue Types.

Typical Interval/Duration Curve Editor window.

Click on image to enlarge.

23.2. Fields and Controls

24. Interval/Potential Curve Editors

24.1. Overview

The Interval/Potential Curve Editor window permits the user to observe and/or edit interval/potential curves for the Preparation. Each curve may be specified as non-tissue type-specific, or specific to one of the extant Tissue Types.

Typical Interval/Potential Curve Editor window.

Click on image to enlarge.

24.2. Fields and Controls

2 Mark Stevans2;}ö(2STR ø„ˇˇ;}ôÙ